#ifndef DEVICES_H__
#define  DEVICES_H__

int sys_write_console(const char *buffer, int size, int *seek);
int sys_write_file(const char* buffer, int size, int *seek);

int sys_read_keyboard(char *buffer, int size, int *seek);
int sys_read_file(char* buffer, int size, int *seek);

int sys_release_file(int file); /* REV */

void init_keyboard();
void init_display();
void init_oft();
int initZeOSFat();
void init_directory();
int alloc_FAT(int block);
void free_FAT(int index);

#endif /* DEVICES_H__*/
